to get that android ID:
https://stackoverflow.com/questions/22743087/gsf-id-key-google-service-framework-id-as-android-device-unique-identifier

-----
android build from source code:
http://xda-university.com/as-a-developer/getting-started-building-android-from-source
-----
